Motorcyles + sand don't mix well, what a terrible accident.
I doubt you could have done anything even if you had been there when he was still alive. I'm sure that experience will stay with you, hopefully it will help warn others about potential dangers while riding.